package com.eling.elcms.travel.service;

import com.eling.elcms.basedoc.model.Room;
import com.eling.elcms.core.service.IGenericManager;
import com.eling.elcms.travel.model.NonMemberGroup;
import com.eling.elcms.travel.model.PlanItemGroup;
import com.eling.elcms.travel.model.RoomOccupancy;

import java.util.Date;
import java.util.List;
import java.util.Set;

public interface IRoomOccupancyManager extends IGenericManager<RoomOccupancy, Long> {

	void removeRoomOccup(PlanItemGroup pig, Date startDate, Date endDate);

	void removeRoomOccup(PlanItemGroup pig, List<Long> pkRoomList);
	
	void removeRoomOccup(PlanItemGroup pig);
	
	void removeRoomOccup(NonMemberGroup nmg);

	void newRoomOccup(PlanItemGroup planItemGroup, List<Room> roomList, Set<Date> dateSet);
}
